	<bean id="${DBTableWithSlaveryTableExtractor.id}"
		  class="com.kingyea.camel.dataconverter.DataReaderComponent">
			<property name="id"				 value="${DBTableWithSlaveryTableExtractor.id}"></property>
			<property name="x"				 value="456"></property>
			<property name="y"				 value="241"></property>
			<property name="dataConverterReader">
				<bean class="com.kingyea.camel.component.rdbms.DBTableWithSlaveryTableExtractor">			
					<property name="dataSource"		ref="${DBTableWithSlaveryTableExtractor.dataSource.id}"></property>				
					<property name="tableName"		value="${DBTableWithSlaveryTableExtractor.tableName}"></property>				
					<property name="incFieldName"	value="${DBTableWithSlaveryTableExtractor.incFieldName}"></property>
					<#if DBTableWithSlaveryTableExtractor.incInitValue??>
					<property name="incInitValue"	value="${DBTableWithSlaveryTableExtractor.incInitValue}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.incOperator??>
					<property name="incOperator"	value="${DBTableWithSlaveryTableExtractor.incOperator}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.maxSize??>
					<property name="maxSize"		value="${DBTableWithSlaveryTableExtractor.maxSize}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.usingDelete??>
					<property name="usingDelete"	value="${DBTableWithSlaveryTableExtractor.usingDelete?c}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.cleanInc??>
					<property name="cleanInc"		value="${DBTableWithSlaveryTableExtractor.cleanInc?c}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.updateIncIdentity??>
					<property name="updateIncIdentity" value="${DBTableWithSlaveryTableExtractor.updateIncIdentity?c}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.incIdentityField??>
					<property name="incIdentityField" value="${DBTableWithSlaveryTableExtractor.incIdentityField}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.incIdentityInitValue??>
					<property name="incIdentityInitValue" value="${DBTableWithSlaveryTableExtractor.incIdentityInitValue}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.incIdentityExtractedValue??>
					<property name="incIdentityExtractedValue" value="${DBTableWithSlaveryTableExtractor.incIdentityExtractedValue}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.dialectType??>
					<property name="dialectType" value="${DBTableWithSlaveryTableExtractor.dialectType}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.orderColumn??>
					<property name="orderColumn" value="${DBTableWithSlaveryTableExtractor.orderColumn}"></property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.primaryKeys??>
					<property name="primaryKeys">
						<list>
							<#list DBTableWithSlaveryTableExtractor.primaryKeys as pk>
							<value>${pk}</value>
							</#list>
						</list>
					</property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.queryFieldsMapper??>
					<property name="queryFieldsMapper">
						<map>
							<#list DBTableWithSlaveryTableExtractor.queryFieldsMapper?keys as field>
							<entry key="${field}" value="${DBTableWithSlaveryTableExtractor.queryFieldsMapper[field]}"/>
							</#list>
						</map>
					</property>
					</#if>
					<#if DBTableWithSlaveryTableExtractor.slaveryTables??>
					<property name="slaveryTables">
						<list>
						<#list DBTableWithSlaveryTableExtractor.slaveryTables as slaveryTable>
							<bean class="com.kingyea.camel.component.rdbms.slavery.SlaveryTableSource">
								<property name="tableName" value="${slaveryTable.tableName}"></property>
								<property name="foreignKeysMapper">
									<map>
										<#list slaveryTable.foreignKeysMapper?keys as masterKey>
											<entry key="${masterKey}" value="${slaveryTable.foreignKeysMapper[masterKey]}"/>
										</#list>
									</map>
								</property>
								<#if slaveryTable.queryFieldsMapper??>
								<property name="queryFieldsMapper">
									<map>
										<#list slaveryTable.queryFieldsMapper?keys as field>
										<entry key="${field}" value="${slaveryTable.queryFieldsMapper[field]}"/>
										</#list>
									</map>
								</property>
								</#if>
							</bean>
						</#list>
						</list>
					</property>
					</#if>
				</bean>
		</property>
		<property name="outputs">
			<list>
				<#list DBTableWithSlaveryTableExtractor.outputs as output>
				<bean class="com.kingyea.camel.runtime.transition.Transition">
					<property name="targetRef" ref="${output}"></property>
				</bean>
				</#list>
			</list>
		</property>
</bean>
<#assign DruidDataSource = DBTableWithSlaveryTableExtractor.dataSource>
<#include "/templates/datasources/DruidDataSource.ftl">